package h_eekwan.basic;

public class J04_Ex32 {

	public static void main(String[] args) {
		// 32.
		
		char letter = 'B';
		switch (letter){
			case 'A':
			case 'a': System.out.println("Some kind of A");
				break;
			case 'B':
			case 'b': System.out.println("Some kind of B");
				break;
			default: System.out.println("Something else");
		}
		// 33. 
		
		int key = 1;
			switch (key + 1){
			case 1: System.out.println("Apples");
				break;
			case 2: System.out.println("Oranges");
				break;
			case 3:System.out.println("Peaches");
				break;
			case 4: System.out.println("Plums");
				break;
			default: System.out.println("Fruitless");
			}
			
		// 34.
			int x = 5;
			//가.
			
			System.out.println(x-- + 5);			
			
			
	}

}
